package com.honeywen.mymvc.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author wangwei
 * @date 2019/1/18 下午5:43
 */
public @Data class ActiveUser implements Serializable {

    private Integer userid;
    private String usercode;
    private String username;
    private List<SysPermission> menus;
    private List<SysPermission> permissions;


    public static @Data class SysPermission {

        private Integer id;
        private Integer parentId;
        private String parentIds;
        private String name;
        private String href;
        private String code;
    }
}
